# -*- coding: utf-8 -*-

from w.blocks.block import BaseBlock
from w.blocks.containers.select import Select as SelectContainer

class Error(Exception):
    pass

class Select(SelectContainer, BaseBlock):
    scriptFiles = ['w/blocks/select.js']

    def __init__(self, content, *argv, **kwargv):
        SelectContainer.__init__(self, content, *argv, **kwargv)
        BaseBlock.__init__(self, *argv, **kwargv)

    def make(self, content=[]):
        return BaseBlock.make(self, SelectContainer.make(self, content))

